<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@page import="java.util.*,model.*,util.*,control.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../../css/front.css" rel="stylesheet" type="text/css" />
<link href="../../css/frontstyle.css" rel="stylesheet" type="text/css" />
  <title>校园动态</title>
  </head>
  <body> 
<div id="fronttop">
  <div class="fronttou">
    <img src="../../pictures/shidaxiaohui.jpg" width="149" height="105" />
    东师心灵港湾
</div>
  <div id="fronttopnavigation">
    <table width="995" height="50" border="0" align="center">
      <tr>
        <td width="71"><div align="center" class="STYLE2" ><a href="../index.jsp">首页</a></div></td>
        <td width="71"><div align="center" ><span  class="STYLE2"><a href="../shiwutongzhi/huodonggonggao.jsp">事务通知</a></span></div></td>
        <td width="71"><div align="center" ><span  class="STYLE2"><a href="../xiaoyuandongtai/sheliandongtai.jsp">校园动态</a></span></div></td>
        <td width="71"><div align="center" ><span  class="STYLE2"><a href="../shehuixinwen/shetuanxinwen.jsp">社会新闻</a></span></div></td>
        <td width="71"><div align="center" ><span  class="STYLE2"><a href="../xinlinghehu/xinlinghehu.jsp">心灵呵护</a></span></div></td>
        <td width="71"><div align="center" ><span  class="STYLE2"><a href="../xinliceshi/xinliceshi.jsp">心理测试</a></span></div></td>
        <td width="71"><div align="center" ><span  class="STYLE2"><a href="../../resources/resources_download.jsp">文件下载</a></span></div></td>
        <td width="71"><div align="center" class="STYLE2"><a href="../woyaoliuyan/woyaoliuyan.jsp">我要留言</a></div></td>
      </tr>
    </table>
  </div>
  </div>
<div id="frontarticle" style="background:#FFF; border:solid #339900;background-image:url(../../pictures/frontbac.jpg); "   align="center">
    <from>
    <div align="center">
    <table width="800" border="0" cellpadding="0" cellspacing="0" style="word-break:break-all; font-size:20px;" >
      <tr><div align="center"><img src="../../pictures/xiaoytop.jpg"/></div></tr>
<%
		int k = 0;
		request.setCharacterEncoding("utf-8");
		int id=ParamUtil.getInt(request,"id",0);
		int pages = ParamUtil.getInt(request, "pages", 1);
		int rowsPerPage = ParamUtil.getInt(request, "pageSize", 20);
		Sheliandt sheliandt = new Sheliandt();
		SheliandtControl sc = new SheliandtControl();
		
		List<Sheliandt>list = new ArrayList<Sheliandt>();
		
		list = (List)sc.GetSheliandt(pages, rowsPerPage);

		for(int i = 0; i<list.size();i++)
		{
			sheliandt = list.get(i);
			k++;

	%>
  <tr >
	<td width="600" height="50" style="border-bottom-color:#666;border-bottom-style:solid;border-bottom-width:medium;">
	<a href="sheliandongtai_1.jsp?id=<%=sheliandt.getDongxiaoxiId() %>"><%=sheliandt.getDongxiaoxiName() %></a>
	</td>
	<td width="200" height="50" style="border-bottom-color:#666;border-bottom-style:solid;border-bottom-width:medium;">
	<%=sheliandt.getDongxiaoxiTime() %>
	</td>
  </tr>
	    <%
	    } 
	    %>
     </table>
          <div align="center">
		<br>
		<table width="20" height="100" border="0">
            <tr>
              <td width="14">&nbsp;</td>
            </tr>
          </table>
		<%
		out.println(SheliandtControl.pageInstance.getToolsMenu(pages));
		%>
		<br>		
</div>
  </div>
  </div>
  <div id="apDiv1">
    <div id="frontcopyright">
      <div></div>
      <div>&nbsp;</div>
      <div>&nbsp;</div>
      <div>&nbsp;</div>
      <div>&nbsp;</div>
      <div>&nbsp;</div>
      <div>&nbsp;</div>
      <div>
        <div align="center"> 2012-2050东北师范大学心灵港湾</div>
      </div>
      <div> </div>
      <div>
        <div align="center">制作：杜娟  李行 李世操</div>
      </div>
      <div>&nbsp;</div>
      <div>&nbsp;</div>
    </div>
  </div>
  </body>
</html>
